package com.wkbb.sports.dto;

import java.text.NumberFormat;

import lombok.Data;

@Data
public class ProjectOrgAverageDto {

	private double avgCount;

	private double medianCount;

	private int maxCount;

	private int minCount;
	
	public String getAvgCount() {
		NumberFormat nf = NumberFormat.getNumberInstance();
		nf.setMaximumFractionDigits(1);
		return nf.format(avgCount);
	}
}
